home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe 3
/
Visual Cafe 3.ISO
/
Vcafe
/
Main.bin
/
RemoteStub.java
< prev
next >
Wrap
Text File
|
1998-09-22
|
1KB
|
43 lines
/*
* @(#)RemoteStub.java 1.8 98/07/01
*
* Copyright 1995-1998 by Sun Microsystems, Inc.,
* 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Sun Microsystems, Inc. ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Sun.
*/
package java.rmi.server;
/**
* The RemoteStub class is the common superclass to all client stubs
* and provides the framework to support a wide range of remote
* reference semantics. Stub objects are surrogates that support
* exactly the same set of remote interfaces defined by the actual
* implementation of the remote object.
*/
abstract public class RemoteStub extends RemoteObject {
/**
* Constructor for RemoteStub.
*/
protected RemoteStub() {
super();
}
/**
* Constructor for RemoteStub, with the specified remote reference.
*/
protected RemoteStub(RemoteRef ref) {
super(ref);
}
static protected void setRef(RemoteStub stub, RemoteRef ref)
{
stub.ref = ref;
}
}